//
//  PermissionLayer.hpp
//  client
//
//  Created by ming on 2019/1/24.
//

#ifndef PermissionLayer_hpp
#define PermissionLayer_hpp

#include "cocos2d.h"
#include "extensions/cocos-ext.h"
USING_NS_CC;
using namespace cocos2d::extension;

class PermissionLayer : public cocos2d::Layer{
public:
    CREATE_FUNC(PermissionLayer);
    PermissionLayer();
    static Scene* createScene();
    bool init();
    virtual ~PermissionLayer();
    void gotoLogoScene();
private:
    void _onPermissionResult(cocos2d::EventCustom* event);
    EventListenerCustom* _listener;
};

#endif /* PermissionLayer_hpp */
